﻿using System.Data.Entity.ModelConfiguration;
using ZFine.Domain.Entity;

namespace Logic.Map.Project
{
    public class CourseTypeMap : EntityTypeConfiguration<CourseTypeEntity>
    {
        public CourseTypeMap()
        {
            this.ToTable("CourseType");
            this.HasKey(t => t.F_Id);
            Property(p => p.F_Id).HasMaxLength(50);
            Property(p => p.F_CreatorUserId).HasMaxLength(50);
            Property(p => p.F_LastModifyUserId).HasMaxLength(50);
            Property(p => p.F_DeleteUserId).HasMaxLength(50);
            Property(p => p.ClassName).HasMaxLength(50);
            Property(p => p.ContenAbstract).HasMaxLength(200);
            Property(p => p.AddUserName).HasMaxLength(50);

            // Property(x => x.F_thispric).HasPrecision(18,2)
        }

    }
}



